package org.zhigong.service;

import org.zhigong.entity.Yuangong;

import java.util.List;

public interface YuangongService {

    /**
     * 查询员工列表
     * @return
     */
    List<Yuangong> getYuangongList(Yuangong yuangong);

    /**
     * 根据员工编号查询员工
     * @param ygbh
     * @return
     */
    Yuangong getYuangongByYgbh(Long ygbh);

    /**
     * 新增员工
     * @param yuangong
     * @return
     */
    Boolean addYuangong(Yuangong yuangong);

    /**
     * 新增员工
     * @return
     */
    Boolean updateYuangong(Yuangong yuangong);

    /**
     * 删除员工
     * @param ygbh
     * @return
     */
    Boolean deleteYuangong(Long ygbh);


}
